
package com.fis.mca.persistence;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for mcaActionParam complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="mcaActionParam">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="defValue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="mcaAction" type="{http://mapparam.mca.fis.com/}mcaAction" minOccurs="0"/>
 *         &lt;element name="mcaMapParams" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="paramId" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="priority" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "mcaActionParam", propOrder = {
    "defValue",
    "description",
    "mcaAction",
    "mcaMapParams",
    "name",
    "paramId",
    "priority",
    "status"
})
public class McaActionParam {

    protected String defValue;
    protected String description;
    protected McaAction mcaAction;
    @XmlElement(nillable = true)
    protected List<Object> mcaMapParams;
    protected String name;
    protected long paramId;
    protected String priority;
    protected String status;

    /**
     * Gets the value of the defValue property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDefValue() {
        return defValue;
    }

    /**
     * Sets the value of the defValue property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDefValue(String value) {
        this.defValue = value;
    }

    /**
     * Gets the value of the description property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDescription() {
        return description;
    }

    /**
     * Sets the value of the description property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDescription(String value) {
        this.description = value;
    }

    /**
     * Gets the value of the mcaAction property.
     * 
     * @return
     *     possible object is
     *     {@link McaAction }
     *     
     */
    public McaAction getMcaAction() {
        return mcaAction;
    }

    /**
     * Sets the value of the mcaAction property.
     * 
     * @param value
     *     allowed object is
     *     {@link McaAction }
     *     
     */
    public void setMcaAction(McaAction value) {
        this.mcaAction = value;
    }

    /**
     * Gets the value of the mcaMapParams property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the mcaMapParams property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getMcaMapParams().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Object }
     * 
     * 
     */
    public List<Object> getMcaMapParams() {
        if (mcaMapParams == null) {
            mcaMapParams = new ArrayList<Object>();
        }
        return this.mcaMapParams;
    }

    /**
     * Gets the value of the name property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getName() {
        return name;
    }

    /**
     * Sets the value of the name property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setName(String value) {
        this.name = value;
    }

    /**
     * Gets the value of the paramId property.
     * 
     */
    public long getParamId() {
        return paramId;
    }

    /**
     * Sets the value of the paramId property.
     * 
     */
    public void setParamId(long value) {
        this.paramId = value;
    }

    /**
     * Gets the value of the priority property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPriority() {
        return priority;
    }

    /**
     * Sets the value of the priority property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPriority(String value) {
        this.priority = value;
    }

    /**
     * Gets the value of the status property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getStatus() {
        return status;
    }

    /**
     * Sets the value of the status property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setStatus(String value) {
        this.status = value;
    }
    
    @Override
    public String toString()
    {
    	return this.name;
    }
}
